College Physics ›› 2020, Vol. 39 ›› Issue (9): 72-77.doi: 10.16854 /j.cnki.1000-0712.190463

Previous Articles     Next Articles

Simulation and visualization of electrostatic field and electric charge movement based on Vpython

WANG Yao1,LIU Yu-ying2,ZHU Shi-qiu2   

  1. 1. College of Engineering,China Agricultural University,Beijing 100083,China; 2. College of Science,China Agricultural University,Beijing100083,China
  • Received:2019-10-14 Revised:2019-02-16 Online:2020-09-20 Published:2020-09-25

Abstract:

Based on Coulomb’s law and superposition principle of electric field,this paper explores the electrostatic field of point charge and charge system. With the help of computer software VPython,the electrostatic field under various charge distributions is simulated. Data analysis is carried out by Plotly software. In addition,we study the trajectory and energy characteristics of charged particles in the electrostatic field. Also,we visualize electric dipole’s three-dimensionalmotion in the electrostatic field in real-time. Teaching practice indicated that: thesimulating and visualizing electrostatic field and charge movement based on VPython andPlotlyenables students to have a better understanding of electrostatics-related knowledge,which is a useful supplement to the classic physics teaching.

Key words: electric field, VPython, visualization, electric dipole